<% content_for :sidebar do -%>
<% end -%>

<h1>修改“<%= h @comment.title %>”</h1>
<% form_for :comment, :url => school_comment_path(@school, @comment), :html => {:method => 'put'} do |f| -%>
  <%= render :partial => 'school_comments/form', :object => f, :locals => {:title => @comment.title} %>
  <p><%= submit_tag "修改好了，发布" %> 或者 <%= link_to "返回", school_path(@school) %></p>
<% end -%>